/*
 * HotelWWIcon.java
 * 
 * Created on Aug 19, 2007, 5:50:36 PM
 * 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.oslo.ui.util;

import gov.nasa.worldwind.geom.Position;
import org.oslo.domain.HotelInfo;

/**
 *
 * @author nl24167
 */
public class HotelWWIcon extends CorrectWWIcon {

    private HotelInfo info;
    
    public HotelWWIcon(String val, Position pos) {
        super(val, pos);
    }

    public HotelWWIcon(String val, Position pos, HotelInfo info) {
        super(val, pos);
        this.info = info;
    }

    @Override
    public String toString() {
        String parent =  super.toString();
        return parent + info;
    }

    public HotelInfo getInfo() {
        return info;
    }

    
    
}
